home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Enigma Amiga Life 112
/
EnigmaAmiga112CD.iso
/
dalla rivista
/
awnpipe
/
awnp
/
awnp-docs
/
getfont.doc
< prev
next >
Wrap
Text File
|
2000-05-17
|
2KB
|
103 lines
GetFont gadget event.
-------------------------
'gadget GID success fontname fontsize fontstyle fontflags'
Success=0 user selected no font or canceled. Success!=0 user selected a font.
GetFont gadget parameters.
-------------------------
font=GID
This sets the font for the gadgets text. The GID points to an ALREADY defined text attribute.
close (c)
This gadget will close the window when selected by the user.
readonly (ro)
This gadget is read only.
disable=number (dis=)
The gadget is enabled if number = 0 , disabled if number != 0. Defaults to enabled.
gadgettext="font requester title" (gt=)
Set the title of the file requester.
style
This requester includes style settings.
fixed
This requester includes fixed width fonts only.
Minn=num
Maxn=num
The minimum and maximum font size allowed. Defaults to 6-20
Wide=num
High=num
Set the size of the requester when opened.
unattached (ua)
This file requester is not attached to the CA window. It may still be activated in the modify conversation.
minwidth=number (minw=)
Set the minimum width for this gadget
minheight=number (minh=)
Set the minimum height for this gadget
weightedwidth=number (weiw=)
Set the weighted width for this gadget
weightedheight=number (weih=)
Set the weighted height for this gadget
nominalsize (noms)
Set this gadget to its nominal size.
tags="tags|data[|tag|data...]|0
A list of tag and value pairs in HEX. Do not forget the trailing null !
childlabel (chl) childlabelr (chlr)
Use the previously defined image as a childlabel for this gadget. Display the childlabel to the right or left of the gadget.
replace=GID
Use this gadget to replace an existing gadget specified by GID.
Definition Reply
-----------------
When the gadget creation is successful the pipe replies
with
'ok GID'
GetFont gadget modify parameters.
-------------------------
selected=number (sel=)
Number is ignored but must be given. This opens the font requester and the selected font is returned rather than a simple ok.
disable=number (dis=)
The gadget is enabled if number = 0 , disabled if number != 0.